package org.springblade.modules.operationAnalysis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

/**
 * 每日任务趋势-运营分析实体类
 *
 * @author BladeX
 * @since 2020-08-28
 */
@Data
@TableName("t_o_daily_task_report")
@ApiModel(value = "DailyTaskReport对象", description = "每日任务趋势-运营分析")
public class DailyTaskReport implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	@Column(columnDefinition = " bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键' ")
	private Long id;
	/**
	 * 日期YYYY-MM-DD
	 */
	@ApiModelProperty(value = "日期YYYY-MM-DD")
	private String date;
	/**
	 * 任务名称
	 */
	@ApiModelProperty(value = "任务名称")
	private String taskName;
	/**
	 * 任务参与人数
	 */
	@ApiModelProperty(value = "任务参与人数")
	private Integer taskUserNum;

	/**
	 * 创建时间
	 */
	@Column(columnDefinition = "  datetime COMMENT '创建时间' ")
	private Date created;
}
